package com.kangdi.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kangdi.server.pojo.Menu;

import java.util.List;


/**
 * <p>
 * InnoDB free: 7168 kB; (`parentId`) REFER `yeb/t_menu`(`id`) 服务类
 * </p>
 *
 * @author kangdi
 * @since 2022-10-04
 */
public interface IMenuService extends IService<Menu> {
    /**
     * 根据用户id获取菜单
     * @return
     */
    List<Menu> getMenuByAdminId();

    /**
     * 根据用户查询菜单
     * @return
     */
    List<Menu> getMenuWithRole();

    /**
     * 查询所有菜单
     * @return
     */
    List<Menu> getAllMenus();
}
